/*
 * BanBu_ListViewController
 * @description 本文件提供半圆项目附近的人的viewcontroller
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供半圆项目附近的人的viewcontroller
 */

#import "EGORefreshTableViewController.h"
#import "BanBu_GridCell.h"
#import "BanBu_SmallListView.h"
#import "BanBu_LocationManager.h"
#import "BanBu_choiceController.h"
#import "AKSegmentedControl.h"
#import "UIBadgeView.h"
@class SVSegmentedControl;
typedef enum {
    ListTypeGirl = 0,
    ListTypeBoy,
    ListTypeAll
} ListType;

@interface BanBu_ListViewController : EGORefreshTableViewController <BanBu_GridCellDelegate,BanBu_SmallListViewDelegate,BanBu_LocationManagerDelegate,AKSegmentedControlDelegate,UIActionSheetDelegate>
{
    BOOL _sortByList;
    BOOL _firstRun;
    UILabel *_locationTip;
    
    UIImageView *cryImageView;
    UILabel *noticeLabel;
    BOOL _isPeople;
    NSInteger gridViewRow;
    
    CGFloat contentOffsetY;
    
    CGFloat oldContentOffsetY;
    
    CGFloat newContentOffsetY;
    UIView *moreView;
    UIActivityIndicatorView *loadingView;
    BOOL isLoading;
    BOOL alreadyRefresh;
    NSMutableArray *cacheArray;
    UILabel *lab;
    NSString *refreshTime;
    AKSegmentedControl *segmentController;
    NSInteger selectIndex;
    UIImageView *friendOnline;
    UIImageView *followOnline;
    
    //显示附近的人的数量
    UILabel * _nearbyNumLa;
    //显示好友和粉丝数量
    UILabel * _friendNumLa;
}

@property(nonatomic,assign) NSInteger currentPage;
@property(nonatomic,assign) NSInteger DosPage;
@property(nonatomic,assign) ListType listType;

//@property(nonatomic,retain) NSMutableArray *tempNearPeople;

@property(nonatomic,retain)  NSMutableDictionary *existDic;


//修改：yinlinlin:2014/07/08
@property (retain, nonatomic) UIBadgeView * badgeViewTalk;      //导航栏附近的人气泡


@end
